package clientDemo.demo;

import clientDemo.entity.Mission;
import clientDemo.service.MissionService;
import clientDemo.service.impl.MissionServiceImpl;
public class MissionDemo {
    public static void main(String[] args) {
    	
    	/*
    	 * @describe 获取任务详情
    	 * @method  get请求
    	 * @url http://ip:port/api/v2/missions
    	 */
  
        MissionService missionService=new MissionServiceImpl();
        //在机器人执行工作之前，需要在YOUIFleet中先创建好任务。我们需要先获取到任务的ID，才能创建调度工作。
        String missionId="2035ee2f-c965-11e9-b01f-b0416f03e8c3";
        Mission mission= missionService.get(missionId);
    }
}
